package kr.saeildamil.androidstudy.ch13;

import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch13Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch13_main);
	}
		public void mOnClick(View v) {
			Intent intent = new Intent();
			switch (v.getId()) {
			case R.id.ch13_btn01:
				intent.setClass(this, ProgressBarTest.class);
				break;
			case R.id.ch13_btn02:
				intent.setClass(this, SeekBarTest.class);
				break;
			case R.id.ch13_btn03:
				intent.setClass(this, PickerDialog.class);
				break;
			case R.id.ch13_btn04:
				intent.setClass(this, AutoComplete.class);
				break;
			case R.id.ch13_btn05:
				intent.setClass(this, SlidingDrawerTest.class);
				break;
	
			}
			startActivity(intent);
		}

	}
